package com.zzyl.service.customer;


import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDto;
import com.zzyl.vo.CountShengYuVo;
import com.zzyl.vo.NursingProjectVo;
import com.zzyl.vo.ReservationVo;

import java.time.LocalDateTime;
import java.util.List;

public interface CustomerReservationService {
    //1.查询取消预约次数
    Integer getCancelledCount(Long userId);

     PageResponse<ReservationVo> selectByPage(Integer status, Integer pageNum, Integer pageSize);


    void insert(ReservationDto reservationDto);

    void updateStatusById(Long id);

    List<CountShengYuVo> countByTime(Long time);

    void updateStatusByTask(LocalDateTime now);
}
